package com.sinosoft.ebusiness.domain.elementManage;

import java.io.Serializable;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.sinosoft.ebusiness.domain.elementManage.GeComboMappingId;
@Entity
@Table(name = "GE_COMBOMAPPING")
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class GeComboMapping implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1358938258682456483L;

	/**
	 * 
	 */

	private GeComboMappingId id;
	
	private String comboCode;
	private String comboName;
	private String parentComboCode;
	private String parentComboName;
	
	@EmbeddedId
	@AttributeOverrides({
			@AttributeOverride(name = "PRODUCTCODE", column = @Column(name = "PRODUCTCODE")),
			@AttributeOverride(name = "VERSION", column = @Column(name = "VERSION")) })
	public GeComboMappingId getId() {
		return id;
	}
	public void setId(GeComboMappingId id) {
		this.id = id;
	}
	
	@Column(name = "COMBOCODE")
	public String getComboCode() {
		return comboCode;
	}
	public void setComboCode(String comboCode) {
		this.comboCode = comboCode;
	}
	@Column(name = "COMBONAME")
	public String getComboName() {
		return comboName;
	}
	public void setComboName(String comboName) {
		this.comboName = comboName;
	}
	@Column(name = "PARENTCOMBOCODE")
	public String getParentComboCode() {
		return parentComboCode;
	}
	public void setParentComboCode(String parentComboCode) {
		this.parentComboCode = parentComboCode;
	}
	@Column(name = "PARENTCOMBONAME")
	public String getParentComboName() {
		return parentComboName;
	}
	public void setParentComboName(String parentComboName) {
		this.parentComboName = parentComboName;
	}
	
	
}
